package main

import (
	"fmt"
	"time"
)

func main() {
	fmt.Println("Run main()")
	go longWait()
	go shortWait()
	time.Sleep(6 * 1e9)
	fmt.Println("main() done")
}

func longWait() {
	fmt.Println("Run longWait()")
	time.Sleep(5 * 1e9)
	fmt.Println("longWait() done")
}

func shortWait() {
	fmt.Println("Run shortWait()")
	time.Sleep(2 * 1e9)
	fmt.Println("shortWait() done")
}
